package com.zhan.ielts.dao.article;

import com.zhan.frame.core.dao.BaseDao;
import com.zhan.ielts.domain.article.Article;
import com.zhan.ielts.domain.article.query.ArticleQuery;
import com.zhan.ielts.domain.article.vo.ArticleVo;
import com.zhan.ielts.domain.article.vo.HotArticleVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by Administrator on 2016/8/19.
 */
public interface ArticleDao extends BaseDao<Article> {
    public void insertBatchArticles(List<Article> articleList);
    void insertHotArticle(HotArticleVo hotArticleVo);
    public Page<ArticleVo> queryArticleVoPageList(ArticleQuery query, Pageable pageable);
}
